.class Lcom/example/m6wmr/LoginActivity$2;
.super Landroid/os/Handler;
.source "LoginActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/LoginActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/LoginActivity;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/LoginActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/LoginActivity$2;->this$0:Lcom/example/m6wmr/LoginActivity;

    .line 255
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 14
    .param p1, "msg"    # Landroid/os/Message;

    .prologue
    const v13, 0x7f0c02d7

    const/4 v12, 0x1

    const/4 v11, 0x0

    .line 257
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    .line 258
    iget v9, p1, Landroid/os/Message;->arg1:I

    packed-switch v9, :pswitch_data_0

    .line 356
    :goto_0
    :pswitch_0
    return-void

    .line 264
    :pswitch_1
    iget-object v9, p0, Lcom/example/m6wmr/LoginActivity$2;->this$0:Lcom/example/m6wmr/LoginActivity;

    # getter for: Lcom/example/m6wmr/LoginActivity;->mcontext:Landroid/content/Context;
    invoke-static {v9}, Lcom/example/m6wmr/LoginActivity;->access$4(Lcom/example/m6wmr/LoginActivity;)Landroid/content/Context;

    move-result-object v9

    iget-object v10, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v10}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v10

    invoke-static {v9, v10, v11}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v9

    invoke-virtual {v9}, Landroid/widget/Toast;->show()V

    goto :goto_0

    .line 270
    :pswitch_2
    new-instance v3, Landroid/content/Intent;

    const-string v9, "jason.broadcast.action"

    invoke-direct {v3, v9}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 271
    .local v3, "intents":Landroid/content/Intent;
    iget-object v9, p0, Lcom/example/m6wmr/LoginActivity$2;->this$0:Lcom/example/m6wmr/LoginActivity;

    invoke-virtual {v9, v3}, Lcom/example/m6wmr/LoginActivity;->sendBroadcast(Landroid/content/Intent;)V

    .line 273
    const-string v9, "sendbraodcast----->>"

    const-string v10, "sendbraodcast"

    invoke-static {v9, v10}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 275
    new-instance v2, Landroid/content/Intent;

    invoke-direct {v2}, Landroid/content/Intent;-><init>()V

    .line 276
    .local v2, "intent":Landroid/content/Intent;
    iget-object v9, p0, Lcom/example/m6wmr/LoginActivity$2;->this$0:Lcom/example/m6wmr/LoginActivity;

    invoke-virtual {v9, v12, v2}, Lcom/example/m6wmr/LoginActivity;->setResult(ILandroid/content/Intent;)V

    .line 277
    iget-object v9, p0, Lcom/example/m6wmr/LoginActivity$2;->this$0:Lcom/example/m6wmr/LoginActivity;

    invoke-virtual {v9}, Lcom/example/m6wmr/LoginActivity;->finish()V

    goto :goto_0

    .line 283
    .end local v2    # "intent":Landroid/content/Intent;
    .end local v3    # "intents":Landroid/content/Intent;
    :pswitch_3
    iget-object v9, p0, Lcom/example/m6wmr/LoginActivity$2;->this$0:Lcom/example/m6wmr/LoginActivity;

    # getter for: Lcom/example/m6wmr/LoginActivity;->mcontext:Landroid/content/Context;
    invoke-static {v9}, Lcom/example/m6wmr/LoginActivity;->access$4(Lcom/example/m6wmr/LoginActivity;)Landroid/content/Context;

    move-result-object v9

    const-string v10, "\u6570\u636e\u683c\u5f0f\u9519\u8bef"

    invoke-static {v9, v10, v11}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v9

    invoke-virtual {v9}, Landroid/widget/Toast;->show()V

    goto :goto_0

    .line 292
    :pswitch_4
    iget-object v9, p0, Lcom/example/m6wmr/LoginActivity$2;->this$0:Lcom/example/m6wmr/LoginActivity;

    iget-object v9, v9, Lcom/example/m6wmr/LoginActivity;->registerview:Landroid/view/View;

    invoke-virtual {v9, v13}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/TextView;

    .line 293
    .local v5, "sendcode":Landroid/widget/TextView;
    iget-object v9, p0, Lcom/example/m6wmr/LoginActivity$2;->this$0:Lcom/example/m6wmr/LoginActivity;

    # getter for: Lcom/example/m6wmr/LoginActivity;->sendcount:I
    invoke-static {v9}, Lcom/example/m6wmr/LoginActivity;->access$10(Lcom/example/m6wmr/LoginActivity;)I

    move-result v9

    add-int/lit8 v0, v9, -0x1

    .line 294
    .local v0, "checkcount":I
    if-lez v0, :cond_0

    .line 295
    iget-object v9, p0, Lcom/example/m6wmr/LoginActivity$2;->this$0:Lcom/example/m6wmr/LoginActivity;

    invoke-static {v9, v0}, Lcom/example/m6wmr/LoginActivity;->access$11(Lcom/example/m6wmr/LoginActivity;I)V

    .line 296
    new-instance v9, Ljava/lang/StringBuilder;

    const-string v10, "\u9a8c\u8bc1\u7801\u5931\u6548"

    invoke-direct {v9, v10}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v10, p0, Lcom/example/m6wmr/LoginActivity$2;->this$0:Lcom/example/m6wmr/LoginActivity;

    # getter for: Lcom/example/m6wmr/LoginActivity;->sendcount:I
    invoke-static {v10}, Lcom/example/m6wmr/LoginActivity;->access$10(Lcom/example/m6wmr/LoginActivity;)I

    move-result v10

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v9

    const-string v10, "s"

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v9

    invoke-virtual {v5, v9}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    .line 300
    :cond_0
    iget-object v9, p0, Lcom/example/m6wmr/LoginActivity$2;->this$0:Lcom/example/m6wmr/LoginActivity;

    invoke-static {v9, v11}, Lcom/example/m6wmr/LoginActivity;->access$12(Lcom/example/m6wmr/LoginActivity;Z)V

    .line 301
    invoke-virtual {v5, v12}, Landroid/widget/TextView;->setEnabled(Z)V

    .line 302
    const-string v9, "\u53d1\u9001\u9a8c\u8bc1\u7801"

    invoke-virtual {v5, v9}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 303
    iget-object v9, p0, Lcom/example/m6wmr/LoginActivity$2;->this$0:Lcom/example/m6wmr/LoginActivity;

    # getter for: Lcom/example/m6wmr/LoginActivity;->mcontext:Landroid/content/Context;
    invoke-static {v9}, Lcom/example/m6wmr/LoginActivity;->access$4(Lcom/example/m6wmr/LoginActivity;)Landroid/content/Context;

    move-result-object v9

    invoke-virtual {v9}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v9

    const v10, 0x7f020096

    invoke-virtual {v9, v10}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v9

    invoke-virtual {v5, v9}, Landroid/widget/TextView;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 304
    iget-object v9, p0, Lcom/example/m6wmr/LoginActivity$2;->this$0:Lcom/example/m6wmr/LoginActivity;

    # invokes: Lcom/example/m6wmr/LoginActivity;->stopTimer()V
    invoke-static {v9}, Lcom/example/m6wmr/LoginActivity;->access$13(Lcom/example/m6wmr/LoginActivity;)V

    goto/16 :goto_0

    .line 309
    .end local v0    # "checkcount":I
    .end local v5    # "sendcode":Landroid/widget/TextView;
    :pswitch_5
    iget-object v9, p0, Lcom/example/m6wmr/LoginActivity$2;->this$0:Lcom/example/m6wmr/LoginActivity;

    # getter for: Lcom/example/m6wmr/LoginActivity;->getRegisterAuthcodeHttpString:Ljava/lang/String;
    invoke-static {v9}, Lcom/example/m6wmr/LoginActivity;->access$14(Lcom/example/m6wmr/LoginActivity;)Ljava/lang/String;

    move-result-object v9

    if-eqz v9, :cond_1

    .line 313
    :try_start_0
    new-instance v4, Lorg/json/JSONObject;

    iget-object v9, p0, Lcom/example/m6wmr/LoginActivity$2;->this$0:Lcom/example/m6wmr/LoginActivity;

    # getter for: Lcom/example/m6wmr/LoginActivity;->getRegisterAuthcodeHttpString:Ljava/lang/String;
    invoke-static {v9}, Lcom/example/m6wmr/LoginActivity;->access$14(Lcom/example/m6wmr/LoginActivity;)Ljava/lang/String;

    move-result-object v9

    invoke-direct {v4, v9}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    .line 325
    :cond_1
    :goto_1
    iget-object v9, p0, Lcom/example/m6wmr/LoginActivity$2;->this$0:Lcom/example/m6wmr/LoginActivity;

    iget-object v10, p0, Lcom/example/m6wmr/LoginActivity$2;->this$0:Lcom/example/m6wmr/LoginActivity;

    iget-object v10, v10, Lcom/example/m6wmr/LoginActivity;->m:Lmyapp/MyApp;

    iget v10, v10, Lmyapp/MyApp;->regtime:I

    invoke-static {v9, v10}, Lcom/example/m6wmr/LoginActivity;->access$11(Lcom/example/m6wmr/LoginActivity;I)V

    .line 326
    iget-object v9, p0, Lcom/example/m6wmr/LoginActivity$2;->this$0:Lcom/example/m6wmr/LoginActivity;

    # invokes: Lcom/example/m6wmr/LoginActivity;->startTimer()V
    invoke-static {v9}, Lcom/example/m6wmr/LoginActivity;->access$15(Lcom/example/m6wmr/LoginActivity;)V

    .line 327
    const-string v9, "Loginactivity"

    const-string v10, "\u53d1\u9001\u9a8c\u8bc1\u7801"

    invoke-static {v9, v10}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 328
    iget-object v9, p0, Lcom/example/m6wmr/LoginActivity$2;->this$0:Lcom/example/m6wmr/LoginActivity;

    iget-object v9, v9, Lcom/example/m6wmr/LoginActivity;->registerview:Landroid/view/View;

    invoke-virtual {v9, v13}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/TextView;

    .line 329
    .local v6, "sendcode1":Landroid/widget/TextView;
    iget-object v9, p0, Lcom/example/m6wmr/LoginActivity$2;->this$0:Lcom/example/m6wmr/LoginActivity;

    # getter for: Lcom/example/m6wmr/LoginActivity;->mcontext:Landroid/content/Context;
    invoke-static {v9}, Lcom/example/m6wmr/LoginActivity;->access$4(Lcom/example/m6wmr/LoginActivity;)Landroid/content/Context;

    move-result-object v9

    invoke-virtual {v9}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v9

    const v10, 0x7f020097

    invoke-virtual {v9, v10}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v9

    invoke-virtual {v6, v9}, Landroid/widget/TextView;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 331
    new-instance v9, Ljava/lang/StringBuilder;

    const-string v10, "\u9a8c\u8bc1\u7801\u5931\u6548"

    invoke-direct {v9, v10}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v10, p0, Lcom/example/m6wmr/LoginActivity$2;->this$0:Lcom/example/m6wmr/LoginActivity;

    iget-object v10, v10, Lcom/example/m6wmr/LoginActivity;->m:Lmyapp/MyApp;

    iget v10, v10, Lmyapp/MyApp;->regtime:I

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v9

    const-string v10, "s"

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v9

    invoke-virtual {v6, v9}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 334
    invoke-virtual {v6, v11}, Landroid/widget/TextView;->setEnabled(Z)V

    .line 335
    iget-object v9, p0, Lcom/example/m6wmr/LoginActivity$2;->this$0:Lcom/example/m6wmr/LoginActivity;

    invoke-static {v9, v12}, Lcom/example/m6wmr/LoginActivity;->access$12(Lcom/example/m6wmr/LoginActivity;Z)V

    goto/16 :goto_0

    .line 317
    .end local v6    # "sendcode1":Landroid/widget/TextView;
    :catch_0
    move-exception v1

    .line 319
    .local v1, "e":Lorg/json/JSONException;
    invoke-virtual {v1}, Lorg/json/JSONException;->printStackTrace()V

    goto :goto_1

    .line 340
    .end local v1    # "e":Lorg/json/JSONException;
    :pswitch_6
    iget-object v9, p0, Lcom/example/m6wmr/LoginActivity$2;->this$0:Lcom/example/m6wmr/LoginActivity;

    # getter for: Lcom/example/m6wmr/LoginActivity;->mcontext:Landroid/content/Context;
    invoke-static {v9}, Lcom/example/m6wmr/LoginActivity;->access$4(Lcom/example/m6wmr/LoginActivity;)Landroid/content/Context;

    move-result-object v9

    iget-object v10, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v10}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v10

    invoke-static {v9, v10, v11}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v9

    invoke-virtual {v9}, Landroid/widget/Toast;->show()V

    .line 342
    iget-object v9, p0, Lcom/example/m6wmr/LoginActivity$2;->this$0:Lcom/example/m6wmr/LoginActivity;

    iget-object v9, v9, Lcom/example/m6wmr/LoginActivity;->registerview:Landroid/view/View;

    invoke-virtual {v9, v13}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v7

    check-cast v7, Landroid/widget/TextView;

    .line 343
    .local v7, "sendcode3":Landroid/widget/TextView;
    const-string v9, "\u53d1\u9001\u9a8c\u8bc1\u7801"

    invoke-virtual {v7, v9}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 344
    invoke-virtual {v7, v12}, Landroid/widget/TextView;->setEnabled(Z)V

    goto/16 :goto_0

    .line 348
    .end local v7    # "sendcode3":Landroid/widget/TextView;
    :pswitch_7
    iget-object v9, p0, Lcom/example/m6wmr/LoginActivity$2;->this$0:Lcom/example/m6wmr/LoginActivity;

    iget-object v9, v9, Lcom/example/m6wmr/LoginActivity;->registerview:Landroid/view/View;

    invoke-virtual {v9, v13}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v8

    check-cast v8, Landroid/widget/TextView;

    .line 349
    .local v8, "sendcode4":Landroid/widget/TextView;
    const-string v9, "\u53d1\u9001\u9a8c\u8bc1\u7801"

    invoke-virtual {v8, v9}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 350
    invoke-virtual {v8, v12}, Landroid/widget/TextView;->setEnabled(Z)V

    goto/16 :goto_0

    .line 258
    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_0
        :pswitch_3
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_6
        :pswitch_7
        :pswitch_0
        :pswitch_5
        :pswitch_4
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
    .end packed-switch
.end method
